package com.tang.sso.service.serviceimpl;

import com.tang.sso.dao.DomainDao;
import com.tang.sso.entity.TbDomain;
import com.tang.sso.service.DomainService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author zjg
 * @date 2018/8/14 15:21
 * @Description 子系统（域名）管理业务层实现类
 */
@Service
public class DomainServiceimpl implements DomainService {

    @Resource
    private DomainDao domainDao;

    @Override
    public List<TbDomain> selectAll() {
        return domainDao.selectList(null);
    }
}
